package com.ruoyi.suggest.mapper;

import java.util.List;
import com.ruoyi.suggest.domain.CrmSuggest;

/**
 * 维修Mapper接口
 * 
 * @author hct
 * @date 2022-02-11
 */
public interface CrmSuggestMapper 
{
    /**
     * 查询维修
     * 
     * @param id 维修主键
     * @return 维修
     */
    public CrmSuggest selectCrmSuggestById(Long id);

    /**
     * 查询维修列表
     * 
     * @param crmSuggest 维修
     * @return 维修集合
     */
    public List<CrmSuggest> selectCrmSuggestList(CrmSuggest crmSuggest);

    /**
     * 新增维修
     * 
     * @param crmSuggest 维修
     * @return 结果
     */
    public int insertCrmSuggest(CrmSuggest crmSuggest);

    /**
     * 修改维修
     * 
     * @param crmSuggest 维修
     * @return 结果
     */
    public int updateCrmSuggest(CrmSuggest crmSuggest);

    /**
     * 删除维修
     * 
     * @param id 维修主键
     * @return 结果
     */
    public int deleteCrmSuggestById(Long id);

    /**
     * 批量删除维修
     * 
     * @param ids 需要删除的数据主键集合
     * @return 结果
     */
    public int deleteCrmSuggestByIds(Long[] ids);
}
